package com.weiaibenpao.demo.chislim.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/13.
 */

public class MatchDetailBean {


    /**
     * code : 0
     * msg : 成功
     * data : {"extra":{"totalSize":2,"size":20,"totalPage":1,"page":0},"list":[{"image":"http://ofplk6att.bkt.clouddn.com/Fo7pD2-d3yvY9KSFjBjWs0x0u2YB","identity":"发起人","name":"小明","mark":0},{"image":"http://ofplk6att.bkt.clouddn.com/Fo7pD2-d3yvY9KSFjBjWs0x0u2YB","name":"张三","mark":6}],"activityMap":{"throughTime":"8小时0分","mContent":"abc","dmessage":"去参赛","distance":1536.33,"joinNumber":300,"remainTime":"赛事进行中","sportsEndTime":1507802461000,"avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","marathonTitle":"环杭州跑","sportsStartTime":"2017-10-12 10:01","provinceName":"浙江省"}}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * extra : {"totalSize":2,"size":20,"totalPage":1,"page":0}
         * list : [{"image":"http://ofplk6att.bkt.clouddn.com/Fo7pD2-d3yvY9KSFjBjWs0x0u2YB","identity":"发起人","name":"小明","mark":0},{"image":"http://ofplk6att.bkt.clouddn.com/Fo7pD2-d3yvY9KSFjBjWs0x0u2YB","name":"张三","mark":6}]
         * activityMap : {"throughTime":"8小时0分","mContent":"abc","dmessage":"去参赛","distance":1536.33,"joinNumber":300,"remainTime":"赛事进行中","sportsEndTime":1507802461000,"avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","marathonTitle":"环杭州跑","sportsStartTime":"2017-10-12 10:01","provinceName":"浙江省"}
         */

        private ExtraBean extra;
        private ActivityMapBean activityMap;
        private List<Participant> list;

        public ExtraBean getExtra() {
            return extra;
        }

        public void setExtra(ExtraBean extra) {
            this.extra = extra;
        }

        public ActivityMapBean getActivityMap() {
            return activityMap;
        }

        public void setActivityMap(ActivityMapBean activityMap) {
            this.activityMap = activityMap;
        }

        public List<Participant> getList() {
            return list;
        }

        public void setList(List<Participant> list) {
            this.list = list;
        }

        public static class ExtraBean {
            /**
             * totalSize : 2
             * size : 20
             * totalPage : 1
             * page : 0
             */

            private int totalSize;
            private int size;
            private int totalPage;
            private int page;

            public int getTotalSize() {
                return totalSize;
            }

            public void setTotalSize(int totalSize) {
                this.totalSize = totalSize;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public int getTotalPage() {
                return totalPage;
            }

            public void setTotalPage(int totalPage) {
                this.totalPage = totalPage;
            }

            public int getPage() {
                return page;
            }

            public void setPage(int page) {
                this.page = page;
            }
        }

        public static class ActivityMapBean {
            /**
             * throughTime : 8小时0分
             * mContent : abc
             * dmessage : 去参赛
             * distance : 1536.33
             * joinNumber : 300
             * remainTime : 赛事进行中
             * sportsEndTime : 1507802461000
             * avgDistance : 5.23
             * number : 300
             * cityName : 杭州市
             * areaName : 上城区
             * marathonTitle : 环杭州跑
             * sportsStartTime : 2017-10-12 10:01
             * provinceName : 浙江省
             * url ://在备赛中的状态 可以分享的H5链接
             */

            private String throughTime;
            private String mContent;
            private String dmessage;
            private double distance;
            private int joinNumber;
            private String remainTime;
            private long sportsEndTime;
            private double avgDistance;
            private int number;
            private String cityName;
            private String areaName;
            private String marathonTitle;
            private String sportsStartTime;
            private String provinceName;
            private String url;
            private String code;
            private String actId;//此id是match供检索和宣传用的的展示id，不是标识身份的id

            public String getmContent() {
                return mContent;
            }

            public void setmContent(String mContent) {
                this.mContent = mContent;
            }

            public String getActId() {
                return actId;
            }

            public void setActId(String actId) {
                this.actId = actId;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getThroughTime() {
                return throughTime;
            }

            public void setThroughTime(String throughTime) {
                this.throughTime = throughTime;
            }


            public String getDmessage() {
                return dmessage;
            }

            public void setDmessage(String dmessage) {
                this.dmessage = dmessage;
            }

            public double getDistance() {
                return distance;
            }

            public void setDistance(double distance) {
                this.distance = distance;
            }

            public int getJoinNumber() {
                return joinNumber;
            }

            public void setJoinNumber(int joinNumber) {
                this.joinNumber = joinNumber;
            }

            public String getRemainTime() {
                return remainTime;
            }

            public void setRemainTime(String remainTime) {
                this.remainTime = remainTime;
            }

            public long getSportsEndTime() {
                return sportsEndTime;
            }

            public void setSportsEndTime(long sportsEndTime) {
                this.sportsEndTime = sportsEndTime;
            }

            public double getAvgDistance() {
                return avgDistance;
            }

            public void setAvgDistance(double avgDistance) {
                this.avgDistance = avgDistance;
            }

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public String getCityName() {
                return cityName;
            }

            public void setCityName(String cityName) {
                this.cityName = cityName;
            }

            public String getAreaName() {
                return areaName;
            }

            public void setAreaName(String areaName) {
                this.areaName = areaName;
            }

            public String getMarathonTitle() {
                return marathonTitle;
            }

            public void setMarathonTitle(String marathonTitle) {
                this.marathonTitle = marathonTitle;
            }

            public String getSportsStartTime() {
                return sportsStartTime;
            }

            public void setSportsStartTime(String sportsStartTime) {
                this.sportsStartTime = sportsStartTime;
            }

            public String getProvinceName() {
                return provinceName;
            }

            public void setProvinceName(String provinceName) {
                this.provinceName = provinceName;
            }
        }

        public static class Participant {
            /**
             * image : http://ofplk6att.bkt.clouddn.com/Fo7pD2-d3yvY9KSFjBjWs0x0u2YB
             * identity : 发起人
             * name : 小明
             * mark : 0
             */

            private String image;
            private String identity;
            private String name;
            private int mark;
            private int userId;

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getIdentity() {
                return identity;
            }

            public void setIdentity(String identity) {
                this.identity = identity;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getMark() {
                return mark;
            }

            public void setMark(int mark) {
                this.mark = mark;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }
        }
    }
}
